package com.sparrow.example_message.map.req;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "请求移动")
@Packet(msgId = PacketId.Scene.REQ_MOVE)
public class ReqMovePacket {
    /**
     * 1开始移动 2持续移动 3停止移动
     */
    private int state;
    /**
     * 角度(欧拉角度)
     */
    private int angle;
    /**
     * 平面 水平
     */
    private int x;
    /**
     * 高
     */
    private int y;
    /**
     * 平面 纵
     */
    private int z;

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getZ() {
        return z;
    }

    public void setZ(int z) {
        this.z = z;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public void setAngle(int angle) {
        this.angle = angle;
    }

    public int getAngle() {
        return angle;
    }
}
